10 writes to typeReferenceNeedsToken
Microsoft.CodeAnalysis (10)
PEWriter\ReferenceIndexer.cs (2)
72this.typeReferenceNeedsToken = true; 146this.typeReferenceNeedsToken = true;
PEWriter\ReferenceIndexerBase.cs (8)
45this.typeReferenceNeedsToken = true; 52this.typeReferenceNeedsToken = true; 278this.typeReferenceNeedsToken = true; 319this.typeReferenceNeedsToken = true; 337this.typeReferenceNeedsToken = true; 424this.typeReferenceNeedsToken = false; 456this.typeReferenceNeedsToken = (typeReference.AsSpecializedNestedTypeReference == null); 470this.typeReferenceNeedsToken = false;
12 references to typeReferenceNeedsToken
Microsoft.CodeAnalysis (12)
PEWriter\ReferenceIndexer.cs (2)
74Debug.Assert(!this.typeReferenceNeedsToken); 148Debug.Assert(!this.typeReferenceNeedsToken);
PEWriter\ReferenceIndexerBase.cs (10)
47Debug.Assert(!this.typeReferenceNeedsToken); 54Debug.Assert(!this.typeReferenceNeedsToken); 200if (!this.typeReferenceNeedsToken && namespaceTypeReference.TypeCode != PrimitiveTypeCode.NotPrimitive) 238if (!this.typeReferenceNeedsToken && nestedTypeReference.AsSpecializedNestedTypeReference != null) 280Debug.Assert(!this.typeReferenceNeedsToken); 321Debug.Assert(!this.typeReferenceNeedsToken); 339Debug.Assert(!this.typeReferenceNeedsToken); 419if (!this.typeReferenceNeedsToken) 436if (this.typeReferenceNeedsToken || nestedTypeReference != null || 449if (this.typeReferenceNeedsToken && _alreadyHasToken.Add(new IReferenceOrISignature(typeReference)))