Update Code and Fixed Some Warning ⚠#10526
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
Why do the pipelines make some errors? |
|
@BillyFrcs , neither Unity 2018 nor Unity 2019 support switch pattern matching. |
|
Alright understood, Thanks for the correction @timGerken I've already revert it. |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
Commenter does not have sufficient privileges for PR 10526 in repo microsoft/MixedRealityToolkit-Unity |
|
Hey @BillyFrcs, I really appreciate you taking the time to address our feedback. We need all of the public fields that were changed to private/protected be reverted back to public, since they are breaking changes to our api. We'd also like you to retarget this branch to prerelease/2.8.0 to get this in if you have the time. |
Okay, I'll try to take it back. |
…er.cs Co-authored-by: Kurtis <kurtie@microsoft.com>
| { | ||
| await new WaitUntil(() => IsActiveLoader.HasValue); | ||
| if (IsActiveLoader.Value) | ||
| if (IsActiveLoader != null && IsActiveLoader.Value) |
There was a problem hiding this comment.
@keveleigh is the != null check necessary here?
There was a problem hiding this comment.
Shouldn't be, since we do it after we call IsActiveLoader.HasValue without a null check in the previous line.
|
Sorry for the delay on accepting this PR. Left some last comments, after which I think this PR should be good to go! |
Alright, no problem! |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Overview
Possible System.InvalidOperationExceptionwarning.publicmethod toprivatebecause it's not being use in the other class andprotectedas well.Possible System.NullReferenceExceptionwarning.Changes
Possible System.NullReferenceExceptionwarning.Possible System.InvalidOperationExceptionwarning